﻿//小学数学函数
#include "Calculate.h"


//计算矩形面积
double  Calculate_rectangular_area(double length, double wid)
{
	double i = length * wid;
	return i;
}
//计算矩形周长
double  Calculate_the_rectangular(double length, double wid)
{
	double i = length + length + wid + wid;
	return i;
}
//计算正方形面积
double  Calculate_the_square_area(double length)
{
	double i = length * length;
	return i;
}
//计算正方形周长
double Calculate_the_circumference_of_square(double length)
{
	double i = length * 4;
	return i;
}